package ru.mcfr.oxygen.updater.plugin;

import org.apache.log4j.Logger;

import ro.sync.exml.plugin.Plugin;
import ro.sync.exml.plugin.PluginDescriptor;

public class UpdateManagerPlugin extends Plugin {
	
	private static Logger logger = Logger.getLogger(UpdateManagerPlugin.class.getName());

	private static UpdateManagerPlugin instance = null;
	
	public UpdateManagerPlugin(PluginDescriptor descriptor){
		super(descriptor);
		
		if (instance != null)
			throw new IllegalStateException("Already instantinated!");
		
		instance = this;
	}
	
	public static UpdateManagerPlugin getInstance(){
		return instance;
	}
}
